x86/cpu/amd: Move the errata checking functionality up
authorBorislav Petkov (AMD) <bp@alien8.de>
Sat, 15 Jul 2023 11:31:32 +0000 (13:31 +0200)
committerSalvatore Bonaccorso <carnil@debian.org>
Thu, 27 Jul 2023 22:17:15 +0000 (23:17 +0100)
commitc0f2c08ca31bf9e307c087fa8497d5881fbf5508
tree6291fcd8193322fe160655640742e5c01445bc0a
parent400878681228cbef0bf69972ed92622043c3d403
x86/cpu/amd: Move the errata checking functionality up

Origin: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit?id=191b8f9b0e3708e8325d8d28e1005a1fbe5e3991

Upstream commit: 8b6f687743dacce83dbb0c7cfacf88bab00f808a

Avoid new and remove old forward declarations.

No functional changes.

Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Gbp-Pq: Topic bugfix/x86
Gbp-Pq: Name x86-cpu-amd-Move-the-errata-checking-functionality-u.patch
arch/x86/kernel/cpu/amd.c